package org.dromara.xyyw.domain.bo;

import org.dromara.xyyw.domain.XyywShopProductCollect;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 商铺商品收藏业务对象 xyyw_shop_product_collect
 *
 * @author yf
 * @date 2024-05-29
 */
@Data
@AutoMapper(target = XyywShopProductCollect.class, reverseConvertGenerate = false)
public class XyywShopProductCollectBo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 商铺商品收藏id
     */
    @NotNull(message = "商铺商品收藏id不能为空", groups = {EditGroup.class})
    private Long shopProductCollectId;

    /**
     * 商铺id
     */
    private Long shopId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 是否收藏 (0为未收藏，1为已收藏)
     */
    private String isCollected;

    /**
     * (0未删除，1已删除)
     */
    private String deleteFlag;

}
